package cz.semjobKB.knowledge.api;

import java.util.HashMap;

/**
 * Interface declaring methods to get information about one terminology match
 */
public interface ITerminologyItem {

    /**
     * Textual representation of one terminology and its count in the document. All have one common lemma
     * @return Map of textual representation and their count of one terminology
     */
	public HashMap<String, Integer> getOriginalText();

    /**
     * Gets the lemma of the matched terminology
     * @return
     */
	public String getLemma();

    /**
     * Gets the overall frequency of the matched terminology.
     * Its the sum of all textual representationhaving common lemma
     * @return Terminology frequency in the document
     */
	public int getFrequency();	
}
